package com.lovegu.thread;

/**
 * @author 老顾
 * @title: UseRunnable
 * @projectName java-restudy
 * @email: 1437594522@qq.com
 * @date 2022/9/22 15:31
 */
public class UseRunnable {
    public static void main(String[] args) {
        System.out.println(1);
        new Thread(()->
                System.out.println(2)).start();
        System.out.println(3);
        try {
            Thread.sleep(100);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println(4);
    }
}
